package com.bstek.model.domain;

import lombok.Data;

import java.util.Date;

/**
 * @ClassName Employee
 * @Description 员工信息
 * @Author fazi
 * @Date 2019/1/7 22:46
 * @Version 1.0
 **/
@Data
public class Employee {

    // 成员账号 主键
    private String username;

    // 姓名
    private String name;

    // 头像
    private String photo;

    // 英文名
    private String ename;

    // 性别
    private String sex;

    // 出生年月
    private Date birth;

    // 身份证号
    private String cardId;

    // 手机号码
    private String telePhone;

    // 邮箱地址
    private String mail;

    // 试用期到期日
    private Date endProbation;

    // 合同开始日
    private Date startContract;

    // 合同到期日
    private Date endContract;

    // 部门编号
    private String deptId;

    // 岗位ID
    private String organCode;

    // 添加时间
    private Date createTime;

    // 最后登录
    private Date lastLoginTime;

    // 是否启用
    private Boolean on;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getTelePhone() {
        return telePhone;
    }

    public void setTelePhone(String telePhone) {
        this.telePhone = telePhone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public Date getEndProbation() {
        return endProbation;
    }

    public void setEndProbation(Date endProbation) {
        this.endProbation = endProbation;
    }

    public Date getStartContract() {
        return startContract;
    }

    public void setStartContract(Date startContract) {
        this.startContract = startContract;
    }

    public Date getEndContract() {
        return endContract;
    }

    public void setEndContract(Date endContract) {
        this.endContract = endContract;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Boolean getOn() {
        return on;
    }

    public void setOn(Boolean on) {
        this.on = on;
    }
}
